package com.allenkerr.service;

import com.allenkerr.model.Customer;
import com.allenkerr.vo.Result;

import java.util.Iterator;
import java.util.List;

/**
 * Created by 小柯 on 17/9/6.
 */
public interface CustomerService {

    Result saveCustomers(List<Customer> customers);

    Iterator<Customer> findAllCustomers();

    List<Customer> findCustomersByFirstName(String firstName);

    List<Customer> findCustomersByLastName(String lastName);
}
